package com.vito.oa.act.extend.service;

import java.util.List;
import java.util.Map;

import com.vito.act.model.ActExTableColsModel;
import com.vito.base.model.DataGrid;
import com.vito.oa.act.extend.model.OaActExTableColsModel;
/**
 * 表单控件
 * @author xuezhennan
 * 
 */
public interface OaActExTableColsService{
	/**
	 * 分页查询流程表单具有控件
	 * @param actExTableModel
	 * @return
	 */
	public DataGrid<OaActExTableColsModel> queryOaActExTableColsByPage(
			OaActExTableColsModel actExTableModel) ;
	/**
	 * 查询流程表单具有控件
	 * @param actExTableModel
	 * @return
	 */
	public List<OaActExTableColsModel> queryOaActExTableCols(OaActExTableColsModel actExTableModel);
	/**
	 * 表单内添加控件
	 * @param actExTableModel
	 * @return
	 */
	public int saveActExTableCols(OaActExTableColsModel actExTableModel);
	/**
	 * 修改控件属性
	 * @param actExTableModel
	 * @return
	 */
	public int updateActExTableCols(OaActExTableColsModel actExTableModel);
	/**
	 * 移除控件
	 * @param actExTableModel
	 * @return
	 */
	public int deleteActExTableCols(ActExTableColsModel actExTableModel) ;
	
	/**
	 * 获取表单的主键和外键
	 * @param map
	 * @return
	 */
	Map<String,Object> getTablePkAndFks(Map<String, Object> map);
	
	
}

